module.exports = {
    chainWebpack: config => {
        config.plugin('html').tap(args => {
            args[0].title= '注册'
            return args
        })
    },
    lintOnSave: false,
    devServer: {
        proxy: {
            '/api': {
                target: 'http://www.yizhongheyue.com',
                changeOrigin: true,
                pathRewrite: {
                    '^/api': '/api'
                }
            }
        }
    },
    publicPath: '/yzregister/',
    outputDir: 'yzregister'
}